import { axios } from "@/services/axios";

const ContractStop = {
  get: data => axios.get(`api/contractstop/${data.id}`),
  getlist: params => axios.post(`api/contractstop/list`, params),
  create: data => axios.post("api/contractstop", data),
  getid: data => axios.get("api/contractstop", data),
  save: data => axios.post(`api/contractstop/${data.id}`, data),
  delete: data => axios.post(`api/contractstop/delete/${data.id}`),
};

export default ContractStop;


